import hasRole from './permission/hasRole';
import hasPermi from './permission/hasPermi';
import copyText from './common/copyText';
import { drag } from './common';
import { App } from 'vue';
//
export function registerGlobDirective(app: App) {
  app.directive('hasRole', hasRole);
  app.directive('hasPermi', hasPermi);
  // @ts-ignore
  app.directive('copyText', copyText);
  app.directive('dialogDrag', drag);
}
